import React from "preact/compat";

type AnswerProps = {
    answer: string
    tag: string
}

const Answer: React.FC<AnswerProps> = ({answer, tag}) => {
    return <h3 style={{display: 'flex'}}>{tag}：{answer}</h3>
}
export {Answer}